#include <iostream>
#include <cstdio>

using namespace std;

int c, f;
int main()
{
    cin >> f;
    c = 5 * (f - 32) / 9;
    cout << "Celsius = " << c;
}